package com.tbs.redis.annotation;

import com.tbs.redis.config.BasicRedisConfig;
import com.tbs.redis.config.RedissonCacheConfig;
import com.tbs.redis.config.property.RedisProperty;
import com.tbs.redis.config.property.RedissonCacheProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Import;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

@Retention(RetentionPolicy.RUNTIME)
@Documented
@EnableConfigurationProperties({RedisProperty.class, RedissonCacheProperty.class})
@Import({RedissonCacheConfig.class, BasicRedisConfig.class})
public @interface UseRedissonCacheMananger {
}
